CFLAGS = -Wall

.PHONY: bin
bin: ./bin/nbody

./bin/nbody: main.cpp body.cpp
	g++ $(CFLAGS) main.cpp body.cpp -o ./bin/nbody

.PHONY: clean
clean:
	rm ./bin/*

.PHONY: rebuild
rebuild: clean bin

